SftTree/NET 2.0

ButtonDarkColor Property, SftTree Class

Softel vdm, Inc.

Defines the color used to draw the slightly dark edge of a button in the item area (BackgroundAppearanceEnum.ButtonPlain and BackgroundAppearanceEnum.HeaderEmptyArea only).

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property ButtonDarkColor As Color

C#   

public Color ButtonDarkColor { get; set; }

C++   

public: property Color ButtonDarkColor {
        Color get();
        void set(Color value);
}

Property Value

The button's slightly dark edge color.

The default value is Color.ControlDark.

Comments

The ButtonDarkColor property defines the color used to draw the slightly dark edge of a button in the item area (BackgroundAppearanceEnum.ButtonPlain and BackgroundAppearanceEnum.HeaderEmptyArea only).

The defined color is only used if a cell's appearance is defined as BackgroundAppearanceEnum.ButtonPlain or BackgroundAppearanceEnum.HeaderEmptyArea (CellBaseClass.Appearance).

If the background appearance is defined as BackgroundAppearanceEnum.HeaderEmptyArea, this color is used to paint a line below the column header.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com